%<*internal>
\begingroup
  \def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
  \file{test.aux}{\from{\jobname.dtx}{aux}}
  \file{test.bst}{\from{gbt7714.dtx}{ustc,2015,author-year}}
  \file{test.bib}{\from{\jobname.dtx}{bib}}
}
\endbatchfile
%</install>
%<*internal>
\fi
%</internal>
%<*driver>
\ProvidesFile{\jobname.dtx}
%</driver>
% \fi
%
%    \begin{macrocode}
%<*aux>
\bibstyle{test}
\citation{*}
\bibdata{test}
%</aux>
%    \end{macrocode}
%
%    \begin{macrocode}
%<*bib>
2.14.2 著者-出版年制

@book{2.14.2:1,
  author       = {Baker, S K and Jackson, M E},
  title        = {The Future of Resource Sharing},
  address      = {New York},
  publisher    = {The Haworth Press},
  year         = {1995},
}

@book{2.14.2:2,
  author       = {尼葛洛庞帝},
  title        = {数字化生存},
  translator   = {胡泳 and 范海燕},
  address      = {海口},
  publisher    = {海南出版社},
  year         = {1996},
  key          = {ni2 ge3 luo4 pang2 di4},
}

@article{2.14.2:3,
  author       = {杨宗英},
  title        = {电子图书馆的现实模型},
  journal      = {中国图书馆学报},
  year         = {1996},
  number       = {2},
  pages        = {24--29},
  key          = {yang2 zong1 ying1},
}

@book{2.14.2:4,
  author       = {刘斌},
  year         = {2014},
  title        = {力学},
  address      = {合肥},
  puslisher    = {中国科学技术大学出版社},
  key          = {liu2 bin1},
}

%</bib>
%    \end{macrocode}
\endinput
